﻿<!DOCTYPE html>
<html>
<head>
    <style>
        p {
            margin-left: 10px;
        }
    </style>
    <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
</head>
<body>
    <p>Hello</p><p>2nd Paragraph</p>
    <script>
        var p = $("p:last");
        var offset = p.offset();
        p.html("left: " + offset.left + ", top: " + offset.top);</script>

</body>
</html>